package com.sxkf.template.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 杨玉龙
 * @since 2024-12-03 20:29:51
 */
@Getter
@Setter
@TableName("t_user_bank")
@ApiModel(value = "UserBank对象", description = "")
public class UserBank implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId("id")
    private String id;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty("持卡人姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty("卡号")
    @TableField("code")
    private String code;

    @ApiModelProperty("卡类型")
    @TableField("type")
    private String type;

    @ApiModelProperty("手机号")
    @TableField("phone")
    private String phone;

      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


}
